7.2 API Agents to Detect Application Software Malfunctions


This section shows you how to program your own API agents so that they can detect the malfunctions in any application software being used on the active machine on the network. When an API agent detects a malfunction in an active application software, it will notify HATS HA so that HATS HA can transfer the active application from the current machine to another machine.


HA_api_open(char *jobname,char *interval).......registor API agent
...................HA_api_open("sybase","12")

HA_api_ok(char*jobname).................................when time interval send ok

HA_api_error(char *jobname)...........................................force job failover

HA_api_close(char *jobname)..................................close registor



Table of ContentsSec. 7-1 sec. 7-2